#ifndef T_CONNECT_H
#define T_CONNECT_H

#include <QObject>
#include <QThread>
#include <QModbusTcpClient>
#include <QModbusClient>
#include <QDebug>



class Connect:public QThread
{
    Q_OBJECT
public:
    Connect(QModbusTcpClient * client);

    void run();

public:
    QModbusTcpClient * client;

signals:
    void t_connect_send(QModbusTcpClient * client);

public slots:
    void t_onStateChanged();

};

#endif // T_CONNECT_H
